/* 
    Created on : Nov 5, 2014, 11:02:02 PM
    Author     : Tuyet
    Custom css class of layout.
*/

/*Edit sub menu*/
.sub_menu{
    width:380px;
}
.sub_menu > ul{
    width:180px;
}
.normal-text{
    font-weight: normal;
    color: #919591;
    font-size: 14px;
}

/* Home */
.add-button {
    height: 30px;
    width: 31px;
    overflow: hidden;
    float: right;
    border: 1px solid #aaa;
    color: white;
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color: white;
}

.add-button:hover {
    width: 80px;
    border: 1px solid #f27242;
    background-color: #f27242 !important;
}

.active-btn {
    width: 80px;
    border: 1px solid #aaa;
    background-color: white !important;
}

.active-btn div {
    color: #888 !important;
}

.active-btn:hover > div {
    color: white !important;
}


.add-button:hover > div > img {
    top: -10px;
}

.add-button div {
    margin: 4px 10px 0 0;
    padding: 0 0 0 20px;
    float: left;
    margin-right: 5px;
    position: relative;
    width: 60px;
    height: 22px;
    line-height: 12px;
    overflow: hidden;
    color: white;
}

.add-button div img {
    width: 11px;
    position: absolute;
    top: -41px;
    left: 0;
}


.disable-add-button {
    height: 30px;
    width: 31px;
    overflow: hidden;
    float: right;
    border: 1px solid #aaa;
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color: white;
    opacity:0.2
}

.disable-add-button div {
    margin: 4px 10px 0 0;
    padding: 0 0 0 20px;
    float: left;
    margin-right: 5px;
    position: relative;
    width: 60px;
    height: 22px;
    line-height: 12px;
    overflow: hidden;
    color: white;
}

.disable-add-button div img {
    width: 11px;
    position: absolute;
    top: -41px;
    left: 0;
}

.dish-in-cart {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 190px;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 65px;
    background-color: rgba(254,213,90,0.9);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.2s;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    cursor:pointer;
}

.sold-out {
    background-color:rgba(231,228,218,0.9);
    z-index:0;
    opacity:1;
    transition:all 0.3s ease-out;
    -moz-transition:all 0.3s ease-out;
    -webkit-transition:all 0.3s ease-out;
}

.sold-out:before {
    content:'Hết hàng';
    font-size: 18px;
    text-transform:uppercase;
}

.sold-out:hover {
    opacity:0;
}